@charset "UTF-8";
.site-header {
    background: #fff;
}

.site-header-center {
    height: 100px;
    width: 1226px;
}

.site-header-logo {
    float: left;
    width: 62px;
    height: 100px;
}

.site-header-logo .logo {
    display: block;
    height: 55px;
    width: 55px;
    margin-top: 22px;
    /* 在CSS文件中使用其它目录中的图片时，若使用相对路径，则先对于当前CSS文件所在的目录 */
    background: url(../images/mi-logo.png) 3px 3px no-repeat, url(../images/mi-home.png) -58px 3px no-repeat, #ff6700;
    transition: all 500ms linear;
}

.site-header-logo .logo:hover {
    background: url(../images/mi-logo.png) 58px 3px no-repeat, url(../images/mi-home.png) 3px 3px no-repeat, #ff6700;
}

.site-header-nav {
    /* 采用 相对定位，目的是让 .site-category 先对该元素进行定位*/
    position: relative;
    z-index: 100;
    float: left;
    width: 850px;
    height: 100px;
    /*background: #9696ff;*/
}

.site-header-nav-list {
    height: 88px;
    padding: 12px 0 0 30px;
    margin: 0;
    list-style: none;
}

.site-header-nav-list-category {
    float: left;
    width: 142px;
    height: 88px;
}

.site-category {
    position: absolute;
    top: 100px;
    left: -62px;
    z-index: 101;
    width: 234px;
    height: 460px;
    background: rgba(105, 101, 101, .6);
}

.site-category-list {
    height: 420px;
    padding: 20px 0;
    color: #fff;
    list-style: none;
}

.site-category-item .title {
    display: block;
    height: 42px;
    padding-left: 30px;
    line-height: 42px;
    text-decoration: none;
    font-size: 14px;
    color: #fff;
}

.site-category-item .title:hover {
    background: #ff6700;
}

.site-category-item .title>b {
    font-weight: normal;
}

.site-category-item .title>i {
    float: right;
    height: 42px;
    width: 42px;
    line-height: 42px;
}

.site-category-item-children {
    display: none;
    position: absolute;
    left: 234px;
    top: 0;
    z-index: 102;
    width: 992px;
    height: 460px;
    background: #fff;
    box-shadow: 0 0 3px 2px #dedede;
}

.site-category-item-children:hover {
    display: block;
}

.site-category-item .title:hover+.site-category-item-children {
    display: block;
}

.site-header-nav-list-item {
    float: left;
}

.site-header-nav-list-item .link {
    display: block;
    padding: 26px 10px 38px;
    color: #333;
    font-size: 16px;
    text-decoration: none;
    transition: color .2s;
}

.site-header-nav-list-item .link:hover {
    color: #ff6700;
}

.site-header-search {
    float: right;
    width: 296px;
    margin-top: 25px;
}

.site-header-search-form {
    height: 50px;
    border: 1px solid #e0e0e0;
    margin: 0;
}

.site-header-search-form:hover {
    border-color: #b0b0b0;
}

.site-header-search-form:hover .site-header-search-form-input {
    border-color: #b0b0b0;
}

.site-header-search-form-input {
    float: left;
    width: 240px;
    height: 50px;
    text-align: center;
}

.site-header-search-form-input input {
    width: 90%;
    height: 46px;
    border: none;
    outline: none;
    line-height: 46px;
}

.site-header-search-form-submit {
    float: right;
    width: 50px;
    height: 50px;
    border-left: 1px solid #e0e0e0;
}

.site-header-search-form-submit:hover {
    background: #ff6700;
}

.site-header-search-form-submit button {
    width: 90%;
    height: 46px;
    background: transparent;
    border: none;
    outline: none;
    line-height: 46px;
    cursor: pointer;
}